package com.yuanfeng.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.business.dto.GdbMerchantTransportAreaDTO;
import com.yuanfeng.business.dto.ManagetransportAreaDeleteDTO;
import com.yuanfeng.business.dto.UserTokenBeanDTO;
import com.yuanfeng.business.dto.WapTransportAreaQueryDTO;
import com.yuanfeng.business.entity.ShopTransportAreaEntity;
import com.yuanfeng.commoms.util.ResponseResult;

/**
 * @ClassName ShopTransportAreaService
 * @Description  售卖区域表
 * @Author cyp
 * @Date 2023-05-26 10:12:33
 * @Version 1.0
 **/
public interface ShopTransportAreaService extends IService<ShopTransportAreaEntity> {
    /**
     * 查询可售区域
     * @param param
     * @return
     */
     ResponseResult query(WapTransportAreaQueryDTO param);

    /**
     * 查询可售区域
     * @param param
     * @return
     */
    ResponseResult queryTwo(WapTransportAreaQueryDTO param);

    /**
     * 删除售卖区域
     *
     * @param param
     * @return
     */
    ResponseResult delete(ManagetransportAreaDeleteDTO param);

    /**
     * 新增或更新售卖区域
     *
     * @param param
     * @return
     */
    ResponseResult add(GdbMerchantTransportAreaDTO param);

    /**
     * 查询售卖区域详情页
     *
     * @param param
     * @return
     */
    ResponseResult queryDetail(ManagetransportAreaDeleteDTO param);

    /**
     * 查询商家售卖区域
     *
     * @param transportAreaId
     * @return
     */
    ResponseResult selectAreaById(Integer transportAreaId);

    /**
     * 查询售卖区域
     *
     * @param param
     * @return
     */
    ResponseResult queryArea(UserTokenBeanDTO param);
}
